package com.web.dao;

import com.web.entity.Student;

import java.util.List;

/**
 * 学生数据访问接口
 */
public interface StudentDAO {

    /**
     * 查询所有学生
     * @return
     */
    List<Student> selectAllStudents();
    List<Student> findStudentkeyword(String keyword);
    Student findStudentById(int id);
    boolean addStudent(Student student);
    boolean updateStudent(Student student);
    boolean deleteStudent(int id);
}
